#ifndef _TRICK_RUNNER
#define _TRICK_RUNNER


#include "ofMain.h"
#include "videoBlobDetector.h"
#include "trick.h"


class trickRunner {
	
	public:
		
		void setup() { myTrick->setup(); };
		void update() { myTrick->update(); };
		void draw() { myTrick->draw(); };
		void reset() { myTrick->reset(); };
		
		void keyPressed  (int key)  { myTrick->keyPressed(key); };
		void keyReleased  (int key)  { myTrick->keyReleased(key); };
		
		
		void 		takeSnapshot();
		void 		clear();
		
		trick 					* myTrick;
		
};

#endif	


